Automatic Validation for Static Binary Translation
نویسندگان
چکیده
Binary translation is an important technique for porting programs as it allows applications for one platform to execute on another. The technique is widely used in virtual machines and emulators. However, binary translation is challenging because many delicate details, such as calling conventions and system calls, must be handled carefully to generate correct translated code. Identifying a mistranslated instruction in a program is difficult, especially when the application program is large. Therefore, it is necessary to develop an automatic tool to uncover problems incurred during translation. We have developed a new validation mechanism for static binary translation, which checks the correctness of emulated architecture state (the state of the emulated architecture) during program execution. We have also proposed additional optimizations to speed up the automatic validation process. General Terms Reliability, Validation.
منابع مشابه
High-Assurance Timing Analysis for a High-Assurance Real-Time OS
Worst-case execution time (WCET) analysis of real-time code needs to be performed on the executable binary code for soundness. Obtaining tight WCET bounds requires determination of loop bounds and elimination of infeasible paths. The binary code, however, lacks information necessary to determine these bounds. This information is usually provided through manual intervention, or preserved in the ...
متن کاملAutomatic Translation of Ada-ECATNet Using Rewriting Logic
One major difficulty that faces developers of concurrent and distributed software is analysis for concurrency based faults like deadlocks. Petri nets are used extensively in the verification of correctness of concurrent programs. ECATNets are a category of algebraic Petri nets based on a sound combination of algebraic abstract types and high-level Petri nets. ECATNets have 'sound' and 'complete...
متن کاملTwo Principles and Six Techniques for Rapid Mt Development
In this paper we describe a range of techniques used at NMSU CRL for accelerating the development of MT systems. These techniques enable semi-automatic development of a number of components of a multilingual MT system, thereby enabling rapid deployment of MT capabilities in a new language. First, we describe the core multi-engine, multilingual architecture that enables the different techniques ...
متن کاملThe Design of a Resourceable and Retargetable Binary Translator
Binary translation, the automatic translation of exe-cutable programs from one machine to another, requires analyses and transformations that could be used in a wide variety of tools intended to reverse engineer binary codes. Our approach to binary translation, which is designed to allow both source and target machines to be changed at low cost, is based on a combination of machine descriptions...
متن کاملBinary Translation: Static, Dynamic, Retargetable?
Cristina Cifuentes Department of Computer Science The University of Queensland Brisbane Qld 4072, Australia [email protected] Vishv Malhotra Department of Computer Science University of Tasmania Hobart Tas 7001, Australia [email protected] Abstract The porting of software to newer and faster machines using static binary translation techniques has proved successful to a large extent. Curren...
متن کامل